﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AdvanceLib.AddIn;
using AdvanceLib.Core;

namespace AdvanceLib.ScriptCore.SystemCommands
{
    public class StartPointer : SystemSection
    {
        #region SystemSection Member
        public override IExtensionProvider GetProvider()
        {
            return Settings.Instance["ScriptProvider"] as IExtensionProvider;
        }
        public override string Name
        {
            get { return "org"; }
        }
        public override int ExpectedParameters
        {
            get { return 1; }
        }
        public override void Execute(ScriptHost host, string[] parameters)
        {
            this.SectionName = parameters[0];
        }
        public override bool DebugParameter(int paramIndex, string paramValue)
        {
            return true;
        }
        #endregion
    }
}
